<?php $curfiled=$filed->queryfid($fid);?>
<form action="<?php echo Fun::curcul(); ?> " method="post" class="aform">
    <h2 class="formdesc">修改字段</h2>
    <?php echo $actinfo;?>
    <div  class="line"><label class="labe">字段名</label>
        <input class="inpt1" type="text" name="fname" value="<?php echo $curfiled[0]['filed_name'] ?>">
        <span class="must">*</span>
    </div>
    <div class="line"><label class="labe">字段描述</label>
        <input class="inpt1" type="text" name="fdesc" value="<?php echo $curfiled[0]['filed_desc'] ?>">
        <span class="must">*</span>
    </div>
    <div class="line"><label class="labe">字段类型</label>
        <select class="inpt1" name="ftype">
            <?php
            foreach (Filed::$filetype as $k => $v) {
                 printf('<option value="%s" %s>%s</option>',
                         $k,
                         $curfiled[0]['filed_type']===$k?'selected="selected"':'',
                         $k);
            }
            ?>
        </select>
    </div>
    <div class="line subline"><input class="sub" type="submit" value="修改字段"></div>
</form>
